<?php $result = departemen_select($key, $orderby)?>
<?php while ($row = mysql_fetch_assoc($result)):?>
<tr <?php echo tag_zebra($z++)?>>
	<td align="center"><?php echo $row['ID_DEPARTMENT']?></td>
	<td align="center"><?php echo $row['NAMA_DEPARTMENT']?></td>
	<td align="right"><a onclick="departemen_edit('<?php echo $row['ID_DEPARTMENT']?>')">Edit</a><a class="marginL5"
		onclick="departemen_delete('<?php echo $row['ID_DEPARTMENT']?>')">Delete</a></td>
</tr>
<?php endwhile;?>